home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / DESQVIEW / DVEVNT01.ARJ / 4DV&PCB.TXT next >
Text File  |  1991-01-13  |  21KB  |  443 lines

  1.  
  2.  
  3.  
  4.                        4 PCBoard DESQView Nodes Plus LANtastic
  5.                        ---------------------------------------
  6.                                           by
  7.                                      Scott Howard
  8.                              (801) 264-9711 (Hayes 9600)
  9.                             (801) 264-9712 (A-J 9600 V.32)
  10.                            (801) 264-9713 (US Robotics HST)
  11.  
  12.           This document summaries my attempts to configure 4 PCBoard nodes
  13.           on one 386 machine using DESQView, along with connecting that
  14.           machine to a LANtastic network.  Please note that the information
  15.           following will NOT work on a 286 machine because of the
  16.           difference in architecture between a 386 and a 286 machine.  This
  17.           configuration requires the use of a 386 processor in order to
  18.           work along with QEMM or similar extended memory manager.
  19.  
  20.           Hardware Used
  21.           -------------
  22.           386/25 Clone with 8 meg of memory (Node 2)
  23.             Everex EV-170 3 port serial card with 16550A UARTS installed
  24.             3 9600 high speed modems  (all opening at 19200)
  25.             1 Parallel Port
  26.             1.2 meg and 720K floppies
  27.             150 Meg CDC ESDI hard disk
  28.             CGA Monitor
  29.             LANtastic Ethernet (16 Bit - AE2 style) board
  30.  
  31.           286/10 AST Premium with 4 meg of memory (Node 1)
  32.             2 Serial and 2 Parallel Ports
  33.             1.4 meg and 1.2 meg floppies
  34.             RLL 60 Meg hard disk
  35.             120 Meg tape backup
  36.             VGA Monitor
  37.  
  38.           Software Used
  39.           -------------
  40.           PCBoard 14.5/E6, MSDos, DESQView 2.31, QEMM 5.11, LANtasti 2.57U,
  41.           PC-Cache Disk Cache Software
  42.  
  43.           Quick Summary
  44.           -------------
  45.           The final outcome of my attempt was successful - in a way.  The
  46.           original plan was to run the 386 machine (Node 2) as the server
  47.           with 3 dial-in and 1 local-only PCBoard nodes -  with the AST 286
  48.           machine accessing it.  However, that did not work as you will
  49.           note later in this document.  So, the 386 machine ended up being
  50.           a Node to the 286 machine with it (the 286) acting as the server.
  51.  
  52.           All 4 PCBoard nodes on the 386 machine work fine.  The network
  53.           runs fine as well.  In summary, you can run multiple nodes on one
  54.           machine in conjunction with LANtastic without a problem - IF you
  55.           plan and tune your system accordingly and you DON'T try to run
  56.           DESQView on top of LANtastic's SERVER software.
  57.  
  58.  
  59.  
  60.  
  61.           Exact 386 Machine Hardware Summary
  62.           ----------------------------------
  63.             IRQ2  LANtastic Ethernet Adaptor at 300H I/O Base
  64.             IRQ3  COM2 at 02F8
  65.             IRQ4  COM1 at 03F8
  66.             IRQ5  COM3 at 03E8  (DSZ Port # 8)
  67.             IRQ7  LPT1
  68.  
  69.           Note that DSZ has a 'standard' port configuration of 03E8 and
  70.           IRQ5 as PORT #8 - which allows you to use the statement
  71.  
  72.                SET DSZPORT=8
  73.  
  74.           in your BOARD.BAT file for that node so that DSZ protocols will
  75.           function properly.
  76.  
  77.  
  78.  
  79.           Exact 286 Machine Hardware Summary
  80.           ----------------------------------
  81.             IRQ2  Tape Backup at 340H I/O Base
  82.             IRQ3  COM2 at 02F8
  83.             IRQ4  COM1 at 03F8
  84.             IRQ5  Mouse Port
  85.             IRQ7  LPT1 and LPT2   (sharing IRQ7)
  86.             IRQ10 LANtastic Ethernet Adaptor at 300H I/O Base
  87.  
  88.           Note that it is possible to share LPT1 and LPT2 on IRQ7 at the
  89.           same time.  Normally you only need to use IRQ5 for LPT3.  This
  90.           will help you save an interrupt if necessary on a machine which
  91.           is short of interrupts and long on devices hanging from it.
  92.  
  93.  
  94.  
  95.  
  96.           Exact 386 Machine Software Summary
  97.           ----------------------------------
  98.  
  99.           CONFIG.SYS
  100.                device=c:\qemm\qemm.sys ram fr=cc00 nw3 tasks=48
  101.                shell=c:\command.com /p /e:256
  102.                buffers=4
  103.                fcbs=48,48
  104.                files=60
  105.                stacks=0,0
  106.                lastdrive=g
  107.  
  108.             The QEMM line above does the following:
  109.                ram       fills in low mem to 736K (due to CGA adaptor) and
  110.                          allows use of high memory for loading device
  111.                          drivers and other TRS programs
  112.  
  113.                fr=cc00   sets the page frame to CC00 (just above the hard
  114.                          disk controller).  This resulted in the largest
  115.                          HIGH RAM area available on my machine to just over
  116.                          80K.
  117.  
  118.                nw3       tells QEMM this machine is not running Windows 3.0
  119.                          which frees up 4K of additional memory
  120.  
  121.                tasks=48  sets the number of QEMM tasks in protected mode to
  122.                          48
  123.  
  124.             The 'stacks=0,0' statement frees up additional memory in low
  125.             mem.  All other statements are pretty much self explanatory.
  126.  
  127.           AUTOEXEC.BAT
  128.                @echo off
  129.                path c:\dos;c:\qemm; ....etc.
  130.                c:\qemm\loadhi c:\dos\share /f:4096 /l:60
  131.                c:\qemm\loadhi c:\dos\fastopen d:128 /x
  132.                c:\qemm\loadhi c:\bin\pc-cache /sizexp=4096 /max=34
  133.                c:\qemm\loadhi c:\lantasti\ae2 irq=2
  134.                c:\qemm\loadhi c:\lantasti\ailanbios run_burst=1
  135.                c:\qemm\loadhi c:\lantasti\redir n1
  136.                c:\qemm\loadhi ansi /s
  137.                dv
  138.  
  139.             The AUTOEXEC.BAT file contains a 4 meg disk cache program
  140.             being loaded into high memory, along with SHARE, FASTOPEN, and
  141.             ANSI - which supports the @X PCBoard variables.
  142.  
  143.             The LANtastic software is also loaded into high memory, with
  144.             one change to the normal calling sequence - and that is the
  145.             addition of the statement 'run_burst=1' on the AILANBIOS line.
  146.             What this does is to reduce the time LANtastic uses for
  147.             processing from 2 clock ticks down to 1 in order to give more
  148.             time to DESQView and its overall PCBoard operation.
  149.  
  150.  
  151.  
  152.  
  153.           DESQView on the 386 Machine
  154.           ---------------------------
  155.  
  156.           After loading in all of the above, CHKDSK yields the following
  157.           information on the 386 machine:
  158.  
  159.                753664 total memory
  160.                690112 total bytes free
  161.  
  162.           In other words, you have plenty of memory for very large DOS
  163.           partitions within DESQView *if* you also have a lot of system
  164.           memory to go along with it.  If you are running a MONO screen,
  165.           your available low memory will be less.  If you are running
  166.           either an EGA or VGA display, it will be even less still since
  167.           QEMM will not be able to 'fill-in' any video memory to use as low
  168.           DOS memory.
  169.  
  170.           Next, DESQView loads and automatically loads 4 PCBoard nodes into
  171.           4 memory partitions.  Nodes 1-3 are dial-in nodes, Node 4 is for
  172.           local maintenance use.  Based on the total machine memory of 8
  173.           meg installed, and 4 meg of it being used for the hard disk
  174.           cache, the remaining 4 megs is then used by DESQView to set up
  175.           the 4 PCBoard partitions.  After loading all four, DESQView's
  176.           memory status reports 1040K of total EMS memory still left, with
  177.           the largest partition being 656K.  This is based on a partition
  178.           size of 512K for each node which will be shown later.  In other
  179.           words, with 4 PCBoard nodes functioning, you still have
  180.           sufficient memory available for other windows as well.  However,
  181.           I recommend you never open more than a total of 4 windows at any
  182.           one time while running this configuration with high-speed callers
  183.           on-line.
  184.  
  185.  
  186.  
  187.  
  188.           DESQView Main Configuration Parameters
  189.           --------------------------------------
  190.  
  191.           The main DESQView startup parameters are set to 2 clock ticks for
  192.           both the foreground and background tasks.
  193.  
  194.           CTRL+ALT+DEL has been set to reboot a window - NOT the machine.
  195.           The ability to reboot the machine within DESQView is disabled by
  196.           placing a '0' in the keyboard field.  This is to prevent an
  197.           inadvertent reboot of the machine and also in most cases DESQView
  198.           on my machine will lock up if a system reboot is attempted.  If a
  199.           hard lock occurs, it is necessary to press the 'RESET' key on the
  200.           CPU itself.
  201.  
  202.           DESQView Performance Window:
  203.             Foreground Ticks:     2
  204.             Background Ticks:     2
  205.             Common Memory:        17K
  206.             DOS EMS Buffers:      16
  207.             Optimize Commun:      N
  208.             Allow Swapping:       Y
  209.             Manage Printers:      N
  210.  
  211.           Contrary to what you might think, since my system uses 16550A
  212.           UARTS, it is NOT necessary for DESQView to 'Optimize
  213.           Communications'.  Since PCBoard will more than take care of that
  214.           with the 16550A's, you free up DESQView from yet another task it
  215.           has to perform by setting this to 'N'.  CAUTION: You MUST be
  216.           using 16550A UARTS in order to do this.  If you are not using
  217.           them, leave this set to 'Y'.
  218.  
  219.  
  220.  
  221.  
  222.           Each dial-in PCBoard node under DESQView is configured as
  223.           follows:
  224.  
  225.           Screen 1: (Change a Program)
  226.           ----------------------------
  227.           Program Name:  PCB - N1    (or PCB - N2, etc.)
  228.           Keys to Open:  A1          (or A2, etc.  I use A1 to put them at
  229.                                      the top of the Open a Window menu.)
  230.           Memory Size:   512K
  231.           Program:       BOARD1.BAT  (BOARD2.BAT, etc.)
  232.           Directory:     D:\PCB1     (or D:\PCB2, etc.)
  233.           Options:
  234.             Writes directly to screen:  N
  235.             Displays graphics info:     N
  236.             Virtualize text:            T
  237.             Uses serial ports:          Y
  238.             Requires floppy disk:       N
  239.  
  240.  
  241.  
  242.  
  243.  
  244.           Screen 2: (Change a Program Advanced Options)
  245.           ---------------------------------------------
  246.           System Memory:    0
  247.           Max Memory:       BLANK
  248.           Script Buff:      0
  249.           Max EMS Mem:      BLANK    (DV will use only what it needs)
  250.           Window Start:     25       (Start height)
  251.                             80       (Start width)
  252.                             0        (Start row)
  253.                             0        (Start col)
  254.           Close on Exit:    N        (BOARD.BAT will take care of that)
  255.           Uses own color:   Y
  256.           Allow Close:      N        (Don't allow close command since you
  257.           Runs in back:     Y         could leave files locked if you do!)
  258.           Uses Math Copr:   N
  259.           Keybrd Conflict:  0
  260.           Share CPU fore:   Y
  261.           Share EGA fore:   N
  262.           Can be swapped:   N
  263.           Protection Lvl:   0
  264.  
  265.           All dial-in nodes use the above information.  In the case of the
  266.           'local-only' node,  the 'Runs in the background' field is set to
  267.           'N' instead of 'Y'.  Since there is no COM port attached to this
  268.           node, and if required to open another window on top of it for
  269.           some reason, by placing a 'N' in this field, DESQView will halt
  270.           the execution of Node 4 during the time the other window is open
  271.           - placing less of a burden on your over-all system.  The same is
  272.           true for other windows which I have set up - including a PCBMoni
  273.           window, a PCBFiler window, etc.  All of these are set to 'N' in
  274.           the 'Runs in background' field so that they will not steal CPU
  275.           time if they are placed in the background for any reason.
  276.           Normally I strongly suggest completely closing any non-COMM port
  277.           window if you find it necessary to switch to a different window.
  278.           However, in the event you can't - at least this will not place an
  279.           additional burden on the CPU which you are off doing something
  280.           else.
  281.  
  282.           Note that the 'Maximum EMS' is set to 0 since I do not use the
  283.           SET PCB=/SWAP statement in my respective BOARDx.BAT files due to
  284.           the fact that my partition size is 512K.  With PCBoard running,
  285.           line 24 of my screen always shows in the area of 218K or higher
  286.           which is plenty for all SHELL functions without requiring a SWAP
  287.           of PCBoard to either EMS or disk memory.  This really helps speed
  288.           things up on my system.
  289.  
  290.  
  291.  
  292.  
  293.           PCBoard 'BOARD.BAT' Notes
  294.           -------------------------
  295.  
  296.           Since I have a 512K partition for each PCBoard node, it is not
  297.           necessary to include the SET PCB=/SWAP statement in my BOARDx.BAT
  298.           files to force PCBoard to swap out to disk or EMS memory during
  299.           SHELL functions.  This means that SHELL functions run very fast
  300.           on my system.
  301.  
  302.           Second, at the end of my BOARDx.BAT files I place the statement:
  303.  
  304.             EXIT
  305.  
  306.           so that I automatically close that PCBoard Node window when
  307.           pressing (F1) or (F10), etc.  If you want to remain in that
  308.           window, then don't place the 'EXIT' statement at the end of the
  309.           file.  I find it best to allow the batch file to go ahead and
  310.           close the window for me so I don't forget.
  311.  
  312.  
  313.  
  314.  
  315.           Overall Fiascos and Summary
  316.           ---------------------------
  317.  
  318.           Many days were spent trying to get the 4 PCBoard nodes to run
  319.           reliably on the 386 machine along with it (the 386 machine)
  320.           acting as the main file server for LANtastic.  Seems that the
  321.           'up-time' would vary from 10 seconds to several hours before a
  322.           hard lock occurred.  Many items were tried which did improve the
  323.           reliability of operation - but never to the point of allowing the
  324.           system to run unattended for long periods of time.  The most
  325.           dramatic improvements came with the use of the 'run_burst'
  326.           statement associated with the AILANBIOS call.  The default number
  327.           of clock ticks LANtastic assigns to itself when performing
  328.           LANBIOS functions is 2.  This however, seemed to cause DESQView
  329.           to lock up quite fast.  By setting both the server and the node
  330.           to a run_burst of 1, DESQView would run for a much longer period
  331.           of time before encountering a problem.
  332.  
  333.           Second, it appeared that when slowing down the AST machine (which
  334.           of course at this time was acting as a node to the 386 machine),
  335.           from 10 mhz operation to 8 mhz, things got better.  However,
  336.           simple COPY commands from the server to the 286 machine would
  337.           frequently fail and lock either or both machines.  A call to
  338.           Artisoft solved that problem.  Seems some older 286/386 machines
  339.           use bus timing which may be incompatible with the new LANtastic
  340.           ethernet boards.  By setting jumper W8 on the LANtastic board to
  341.           pins 2-3 instead of 1-2, that problem went away.  By changing
  342.           this jumper (new style boards only), you alter LANtastic's timing
  343.           to other than standard to basically accommodate higher speed
  344.           busses.
  345.  
  346.           After trying virtually every combination possible, it became
  347.           apparent that only when the LANtastic SERVER software was loaded
  348.           would DESQView have a problem.  If SERVER was not loaded - all
  349.           worked fine.  A little digging into the DESQView manual confirmed
  350.           my conclusion:
  351.  
  352.             Reference page 164 of the DESQView Manual
  353.             Appendix C: Using DESQView with a Network
  354.  
  355.                "Many networks allow a machine to be used as both a
  356.                'normal' computer and as the network server at the same
  357.                time.  DO NOT RUN DESQVIEW ON A SERVER MACHINE.  To run a
  358.                machine as a server, a special, concurrent extension to DOS
  359.                is loaded.  The server's concurrency and DESQView's
  360.                concurrency will interfere with each other and (most
  361.                likely) disable or crash your server."
  362.  
  363.           So true!  Hence, the bottom line is that you CAN run multiple
  364.           DESQView nodes (or windows) on top of LANtastic (or probably any
  365.           other network) as long as you DON'T try and also run that machine
  366.           as a server.  Hmmm, so my plans had to change.  Instead of
  367.           logging into the machine 386 machine from the 286 machine, would
  368.           it work for the 386 machine to log into the 286 machine which was
  369.  
  370.  
  371.  
  372.  
  373.           not running DESQView.  Yup.  However, a lot of the original items
  374.           which were planned had to be altered.  I can of course copy
  375.           files, etc. from the 386 machine to the 286 machine as long as I
  376.           do it from inside a DESQView window on the 386 machine.  Since
  377.           the tape backup resides on the 286 machine, it is necessary to
  378.           exit from DESQView completely and load in LANtastic's SERVER,
  379.           followed by logging into the 386 machine from the 286 machine in
  380.           order to perform a backup.  After which I reboot the 386 machine
  381.           to remove SERVER from memory and reload DESQView and the PCBoard
  382.           nodes.
  383.  
  384.           Is It Worth It?
  385.           ---------------
  386.  
  387.           The final question is "Is it worth it to set up such a
  388.           configuration?"  In my case - yes.  I don't need the speed of the
  389.           386 machine to perform other tasks I need to do such as working
  390.           on a spreadsheet or in my word processor.  However, the storage
  391.           available on the 386 is essential.  Although I can't directly
  392.           copy a file from the 286 machine to the 386 machine, I can slip
  393.           over to the other keyboard on the 386 machine and copy it from
  394.           the 286 machine to the 386 machine inside a small DV window -
  395.           even while the board is running.
  396.  
  397.           Second, since it is physically possible to run 5 PCBoard nodes on
  398.           my 386, I could set up the 286 machine with a very large hard
  399.           disk and place another PCBoard node up on it if desired - making
  400.           the 386 nodes go to it for files.  Sort of opposite of what I had
  401.           in mind to start with, but accomplishing basically the same
  402.           thing.  Only requirement is that the main server can NOT run
  403.           DESQView on top of the LANtastic SERVER software.  By using say
  404.           3-386 machines, one of which is acting as a server and the other
  405.           two as nodes, it would be possible to run as many as 7-9 nodes at
  406.           one time without much of a problem - allocating 3-4 PCBoard nodes
  407.           per 386 DESQView Node machine and 1 dial-in node for the main
  408.           server which was not running under DESQView.
  409.  
  410.           The nice thing though is that I can reliably run 3 dial-in
  411.           PCBoard nodes on one machine - with a 4th node for local work as
  412.           well - while still having the capability of transferring files
  413.           between the two machines as necessary.  In the event the hard
  414.           disk failed on the 386 machine, it would be fairly easy to switch
  415.           the nodes over to accessing files off the 286 machine.
  416.  
  417.           I would not recommend trying such a configuration on other than a
  418.           20 mhz or faster 386 machine.  Also, the number of PCBoard nodes
  419.           you plan to run on one machine will depend a lot of the number of
  420.           them which are running at 9600 bps or above.  If you will be
  421.           running one or more 2400 bps nodes, no problem.
  422.  
  423.  
  424.  
  425.  
  426.           Disclaimer
  427.           ----------
  428.  
  429.           Hate to have to do this, but:
  430.  
  431.           The information provided in this document is provided 'as-is'
  432.           without any warranty of any type or guarantee of fitness of use.
  433.           The information included simply summaries my success in
  434.           configuring my hardware to meet a specific application.  Your
  435.           hardware and software may not function identically to mine and
  436.           you assume full responsibility for trying any of the above on
  437.           your system.  I strongly suggest that before you attempt any of
  438.           the configuration items listed that you completely back-up your
  439.           system first.
  440.  
  441.           Scott Howard
  442.  
  443.